#!/usr/bin/env python
from flask import Flask, render_template, Response
# from camera import Camera
import socket

#获取本机电脑名
my_name = socket.getfqdn(socket.gethostname())
#获取本机ip
my_address = socket.gethostbyname(my_name)

app = Flask(__name__)


@app.route('/')
def index():
    return render_template('index.html')


if __name__ == '__main__':
    app.run(port=5001)

